<template>
  <v-card flat height="168">
    <v-spacer class="d-flex dialog-content">
      <v-col class="text"> {{ propTitle }} </v-col>
      <v-col class="text"> {{ propSubtitle }} </v-col>
      <v-col>
        <v-btn
          width="32"
          height="32"
          color="#7FAB78"
          fab
          elevation="0"
          class="send-btn ml-2"
          @click="save"
        >
          <v-icon color="#fff">mdi-check</v-icon>
        </v-btn>
      </v-col>
    </v-spacer>
  </v-card>
</template>
<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
@Component({
  props: {
    subtitle: String,
    title: {
      type: String,
      default: "Save successfully",
    },
  },
})
export default class Save extends Vue {
  get propTitle() {
    return this.$props.title;
  }
  get propSubtitle() {
    return this.$props.subtitle;
  }
  save() {
    this.$emit("submit");
  }
}
</script>
<style lang="scss" scoped>
@import "@/components/Quotation/Dialog/Dialog.scss";
</style>
